package com.yww.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yww.entity.Follow;
import com.yww.entity.FollowParam;
import com.yww.mapper.FollowMapper;
import com.yww.service.IFollowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 雯雯yang
 * @since 2020-06-10
 */
@Service
public class FollowServiceImpl extends ServiceImpl<FollowMapper, Follow> implements IFollowService {
    @Autowired
    FollowMapper followMapper;

    @Override
    public List<FollowParam> getFollowById(FollowParam followParam) {
        return followMapper.getFollowById(followParam);
    }

    @Override
    public List<FollowParam> getFollowList(FollowParam followParam) {
        return followMapper.getFollowList(followParam);
    }


}
